package util

import (
	"crypto/sha256"
	"encoding/hex"
)

// Sha256X16Srt sha256加密后再进行16进制转换
func Sha256X16Srt(data string) string {
	s := sha256.New()
	s.Write([]byte(data))
	bs := s.Sum(nil)
	return hex.EncodeToString(bs)

}
